package sudroid.android;

import android.net.Uri;
import android.os.Environment;
import java.io.File;
import sudroid.AssertUtil;
import sudroid.TextUtils;

public class FileUtil extends sudroid.FileUtil
{
  public static File getFileFromUri(Uri paramUri)
  {
    AssertUtil.checkNull(paramUri);
    String str;
    if ((paramUri.getScheme().equals("file")) && (!TextUtils.isEmpty(paramUri.getPath())))
      str = paramUri.getPath();
    for (File localFile = new File(str); ; localFile = null)
      return localFile;
  }

  public static boolean hasSDCardMounted()
  {
    return Environment.getExternalStorageState().equals("mounted");
  }

  public static String printSDCardRoot()
  {
    return Environment.getExternalStorageDirectory().getAbsolutePath();
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     sudroid.android.FileUtil
 * JD-Core Version:    0.6.0
 */